print("\n","="*10,"蚂蚁庄园动态"," ="*10)
file = open('message.txt', 'r', encoding="GBK") #自动创建文件
print("\n即将显示...\n")
print(file.read()) #读取文件内容


# print("\n","="*10,"蚂蚁庄园动态"," ="*10)
# file = open('message.txt', 'a')
# # 写入一条动态信息
# file.write('I am Harry \n')
# print('\n 写入了一条动态..... \n')
# print(file.read())
# file.close()


# file = open('message.txt', 'r')
# print(file.read()) 